package org.xjc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author : XJC
 * @Description :角色和菜单的对应表
 * @create : 2022/9/24 8:48
 */

@Data
@NoArgsConstructor
@AllArgsConstructor

@Entity
@Table(name = "T_ROLE_MENU")
@TableName("T_ROLE_MENU")
public class RoleMenuEntity extends BaseEntity {

    @Column(name = "ROLE_ID",columnDefinition = "varchar2(64)")
    @TableField("ROLE_ID")
    private String roleId;

    @Column(name = "MENU_ID",columnDefinition = "varchar2(64)")
    @TableField("MENU_ID")
    private String menuId;


}
